package com.sanri.test.locktest;

import org.junit.Test;

import java.util.concurrent.locks.ReentrantLock;

public class ReentrantLockTes {

    @Test
    public void testQueue(){
        ReentrantLock reentrantLock = new ReentrantLock(true);
        reentrantLock.lock();
        reentrantLock.lock();
        reentrantLock.lock();
    }
}
